﻿@inject SettingService _settingService
@inject SingleBlogDbContext _context

@{
    var systemInfo = _settingService.GetSystemSetting();
}
<dl class="row">
    <dd class="col">
        <h2><small>总文章数</small> @_context.Articles.Count() <small>篇</small></h2>
    </dd>
</dl>
<div class="row">
    <div class="col">
        <h2>@(systemInfo.Name) 
            <small>@(systemInfo.Version)</small> 
        </h2>
        <hr />
        <blockquote>
            基于 ASP.NET CORE 2.0 的轻量级开源博客
        </blockquote>
        <ul>
            <li>作者：周大侠</li>
            <li>Git：<a href="https://git.oschina.net/" target="_blank">https://gitee.com/master-zhou/SingleBlog</a></li>
            <li>有任何问题可提交自 <a href="https://gitee.com/master-zhou/SingleBlog/issues">https://gitee.com/master-zhou/SingleBlog/issues</a></li>
        </ul>
    </div>
</div>
